﻿/***************************************************************************
*		功能：     员工岗位实体类(代码生成工具搞定的)
*		作者：     Hydra
*		日期：     2011-08-11 05:47
*		
*		修改日期：
*		修改人：
*		修改内容：
/* *************************************************************************/
using System;
using System.Xml.Serialization;
using System.Runtime.Serialization;
using System.IO;
using System.Text;
using System.Data;
using Deeper.DataAccess;
using Deeper.Common;
using Deeper.Common.Web;
using System.Collections.Generic;
namespace ZhongTian.Model
{
	/// <summary>
	/// 员工岗位
	/// </summary>
	[Serializable]
	[HTable(TableName = "T_Postion", EntityName = "Postion")]
	public partial class Postion :  IModel
	{
        /// <summary>
        /// 是否新参数
        /// </summary>
        public bool IsNewModel() { return PosionId == 0; }

	    #region 所有的字段
	 
	    
		/// <summary>
		/// PosionId
		/// </summary>
		[HColumn("PosionId", Remake = "PosionId", DataType = "numeric" , IsPrimary = true , IsIdentity = true , IsUniqueness = true)]
		public int PosionId { set; get; }
        

		/// <summary>
		/// 岗位
		/// </summary>
		[HColumn("PostionName", Remake = "岗位", DataType = "nvarchar" , Length =40 , IsUniqueness = true)]
		public string PostionName { set; get; }
        

		/// <summary>
		/// 基本工资
		/// </summary>
		[HColumn("BaseIncome", Remake = "基本工资", DataType = "decimal" , Length =14)]
		public decimal BaseIncome { set; get; }
        

		/// <summary>
		/// 岗位津贴
		/// </summary>
		[HColumn("PostSubsidy", Remake = "岗位津贴", DataType = "decimal" , Length =14)]
		public decimal PostSubsidy { set; get; }
        

		/// <summary>
		/// 车贴
		/// </summary>
		[HColumn("TrafficFare", Remake = "车贴", DataType = "decimal" , Length =14)]
		public decimal TrafficFare { set; get; }
        

		/// <summary>
		/// 补菜金
		/// </summary>
		[HColumn("RepastFare", Remake = "补菜金", DataType = "decimal" , Length =14)]
		public decimal RepastFare { set; get; }
        

		/// <summary>
		/// 责任奖
		/// </summary>
		[HColumn("Bonus", Remake = "责任奖", DataType = "decimal" , Length =14)]
		public decimal Bonus { set; get; }
        

		/// <summary>
		/// 工龄工资
		/// </summary>
		[HColumn("LenOfSevicePay", Remake = "工龄工资", DataType = "decimal" , Length =14)]
		public decimal LenOfSevicePay { set; get; }
        

		/// <summary>
		/// 社保金
		/// </summary>
		[HColumn("SocialSecurityPay", Remake = "社保金", DataType = "decimal" , Length =14)]
		public decimal SocialSecurityPay { set; get; }
        

		/// <summary>
		/// 特殊津贴
		/// </summary>
		[HColumn("SpecialFare", Remake = "特殊津贴", DataType = "decimal" , Length =14)]
		public decimal SpecialFare { set; get; }
        

		/// <summary>
		/// 是否有补菜金
		/// </summary>
		[HColumn("IsRepastFare", Remake = "是否有补菜金", DataType = "bit")]
		public bool IsRepastFare { set; get; }
        

		/// <summary>
		/// 是否有电话费
		/// </summary>
		[HColumn("IsTelFare", Remake = "是否有电话费", DataType = "bit")]
		public bool IsTelFare { set; get; }
        



        public class F
        {
    		 
			 /// <summary>
			 /// PosionId
			 /// </summary>
			 public static Field PosionId = new Field("T_Postion","PosionId");
	    	 

			 /// <summary>
			 /// 岗位
			 /// </summary>
			 public static Field PostionName = new Field("T_Postion","PostionName");
	    	 

			 /// <summary>
			 /// 基本工资
			 /// </summary>
			 public static Field BaseIncome = new Field("T_Postion","BaseIncome");
	    	 

			 /// <summary>
			 /// 岗位津贴
			 /// </summary>
			 public static Field PostSubsidy = new Field("T_Postion","PostSubsidy");
	    	 

			 /// <summary>
			 /// 车贴
			 /// </summary>
			 public static Field TrafficFare = new Field("T_Postion","TrafficFare");
	    	 

			 /// <summary>
			 /// 补菜金
			 /// </summary>
			 public static Field RepastFare = new Field("T_Postion","RepastFare");
	    	 

			 /// <summary>
			 /// 责任奖
			 /// </summary>
			 public static Field Bonus = new Field("T_Postion","Bonus");
	    	 

			 /// <summary>
			 /// 工龄工资
			 /// </summary>
			 public static Field LenOfSevicePay = new Field("T_Postion","LenOfSevicePay");
	    	 

			 /// <summary>
			 /// 社保金
			 /// </summary>
			 public static Field SocialSecurityPay = new Field("T_Postion","SocialSecurityPay");
	    	 

			 /// <summary>
			 /// 特殊津贴
			 /// </summary>
			 public static Field SpecialFare = new Field("T_Postion","SpecialFare");
	    	 

			 /// <summary>
			 /// 是否有补菜金
			 /// </summary>
			 public static Field IsRepastFare = new Field("T_Postion","IsRepastFare");
	    	 

			 /// <summary>
			 /// 是否有电话费
			 /// </summary>
			 public static Field IsTelFare = new Field("T_Postion","IsTelFare");
	    	 

        }
        #endregion
		  
	 
	}
    
}